<%@page import="sdfi.lee.DAO.LabDAO"%>
<%@page import="sdfi.lee.Entity.Lab"%>
<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@taglib prefix="FCK" uri="http://java.fckeditor.net"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>

<link rel="stylesheet" href="<c:url value='/css/adnews.css'></c:url>">
<style type="text/css">
select{
		width:200px;
	}
</style>
<script type="text/javascript" src="<c:url value='/js/jquery-1.6.js'></c:url>"></script>
<script type="text/javascript">
	
</script>
</head>
<body >
<%
	List<Lab> list=new LabDAO().getAllLab();
	if(list!=null&&list.size()>0)
		request.setAttribute("list",list);
%>
<div class="contain">
	<form action="<c:url value='/taskadd.action'></c:url>" method="post">
		<div class="items">
			<strong>项目名称：</strong>
			<input class="text" type="text" name="taskname" >
		</div>
		<div class="items">
			<strong>出品公司：&nbsp;</strong><select name="labid">
							<c:forEach items="${requestScope.list}" var="lab">
								<option value="${lab.id}">${lab.labname}</option>
								</c:forEach>
							</select>
		</div>
		<div class="items">
			<strong>项目介绍：
				<FCK:editor instanceName="taskdescribe" width="600px" height="400px"></FCK:editor>
			</strong>
		</div>
		<div class="items">
			<input type="submit" value="药物添加">
		</div>
	</form>
</div>
</body>
</html>